//-----------------------------------------------------------------------
// <copyright file="PictureBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace .Entities
{
	[Serializable]
	public class PictureBase
	{
		
		#region Variable Declarations
		private long				pictureId = 0;
		private long				userId = 0;
		private int				countryLanguageId = 0;
		private string				title = string.Empty;
		private string				description = string.Empty;
		private string				fileName = string.Empty;
		private int				status = 0;
		private int				type = 0;
		private int				votes = 0;
		private int				totalRating = 0;
		private decimal				averageVote = 0;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				lastModificationDate = new DateTime(1900,1,1,0,0,0,0);
		private string				mailingAddress = string.Empty;
		private string				contactNumber = string.Empty;
		#endregion
		
		#region Constructors
		public PictureBase() {}
		
		public PictureBase (
			long pictureId,
			long userId,
			int countryLanguageId,
			string title,
			string description,
			string fileName,
			int status,
			int type,
			int votes,
			int totalRating,
			decimal averageVote,
			DateTime createdDate,
			DateTime lastModificationDate,
			string mailingAddress,
			string contactNumber)
		
		{
			this.pictureId = pictureId;
			this.userId = userId;
			this.countryLanguageId = countryLanguageId;
			this.title = title;
			this.description = description;
			this.fileName = fileName;
			this.status = status;
			this.type = type;
			this.votes = votes;
			this.totalRating = totalRating;
			this.averageVote = averageVote;
			this.createdDate = createdDate;
			this.lastModificationDate = lastModificationDate;
			this.mailingAddress = mailingAddress;
			this.contactNumber = contactNumber;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long PictureId
		{
			get { return pictureId; }
			set { pictureId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UserId
		{
			get { return userId; }
			set { userId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CountryLanguageId
		{
			get { return countryLanguageId; }
			set { countryLanguageId = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string FileName
		{
			get { return fileName; }
			set { fileName = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Status
		{
			get { return status; }
			set { status = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Type
		{
			get { return type; }
			set { type = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Votes
		{
			get { return votes; }
			set { votes = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int TotalRating
		{
			get { return totalRating; }
			set { totalRating = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal AverageVote
		{
			get { return averageVote; }
			set { averageVote = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime LastModificationDate
		{
			get { return lastModificationDate; }
			set { lastModificationDate = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string MailingAddress
		{
			get { return mailingAddress; }
			set { mailingAddress = value; }
		}
			
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ContactNumber
		{
			get { return contactNumber; }
			set { contactNumber = value; }
		}
			
		
		#endregion
	}//End Class
	
	public enum PictureColumns
	{
		PictureId,
		UserId,
		CountryLanguageId,
		Title,
		Description,
		FileName,
		Status,
		Type,
		Votes,
		TotalRating,
		AverageVote,
		CreatedDate,
		LastModificationDate,
		MailingAddress,
		ContactNumber
	}//End enum
}